import Layout from '@/layout'
export default {
  path: '/employees', // 路径
  component: Layout, // 组件
  children: [
    {
      path: '', // 默认渲染路由
      name: 'employees', // 模块名
      component: () => import('@/views/employees/employees'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: 'detail',
      component: () => import('@/views/employees/detail'),
      name: 'employeesDetail',
      hidden: true
    }
  ]
}
